import request from '@/router/axios';

// 倒冲记录分页接口
export const getList = (current, size, params) => {
    return request({
        url: `/api/mes-warehouse/sheetheader/page`,
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};

// 倒冲记录包装详情接口
export const getDetail = (params) => {
    return request({
        url: '/api/mes-warehouse/sheetheader/sheet-detail/list-with-part-master',
        method: 'get',
        params: {
            ...params,
        }
    });
};
